package model.person;

public class PersonFactory {
	public static Person createMember(String firstName, String lastName) {
		return new Member(firstName, lastName, 25);
	}

	public static Person createEmployee(String firstName, String lastName,
			float salary, Function... functions) {
		Employee e = new Employee(firstName, lastName, salary, null);
		for (Function f : functions) {
			e.addFunction(f);
		}
		return e;
	}
}
